package com.sky.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 菜品 分页-条件查询接收数据 dto
 */
@Data
@ApiModel(value = "DishPageQueryDTO", description = "菜品分页条件查询接收数据的模型")
public class DishPageQueryDTO implements Serializable {

    //页码值
    @ApiModelProperty(value = "页码")
    private Integer page;

    //每页展示数
    @ApiModelProperty(value = "每页展示数")
    private Integer pageSize;

    //菜品名称
    @ApiModelProperty(value = "菜品名称", required = false)
    private String name;

    //分类id
    @ApiModelProperty(value = "分类id", required = false)
    private Integer categoryId;

    //状态 0表示禁用 1表示启用
    @ApiModelProperty(value = "状态 0表示禁用 1表示启用", required = false)
    private Integer status;

}
